package com.example.service;

import com.example.pojo.HeritageProject;

import java.util.List;

public interface HeritageProjectService {
    //获取所有非遗项目
    List<HeritageProject> getAllHeritageProjects();
    //根据区域和物种获取所有非遗项目
    List<HeritageProject> findAllByCategory(Integer regionId, Integer speciesId);

    void insert(HeritageProject project);

    void update(HeritageProject project);

    void delete(Integer id);

    HeritageProject findById(Integer id);
}
